This site is built library CakePHP "Inflector" test site.
※ This site is using the CakePHP 2.7.5.
Enter the text you want to convert, "Send" button please.
The result of running Inflector
Inflector::pluralize | baseapp& amps |
---|---|
Inflector::singularize | baseapp& amp |
Inflector::camelize | Baseapp&Amp |
Inflector::underscore | baseapp& amp |
Inflector::humanize | Baseapp& Amp |
Inflector::tableize | baseapp& amps |
Inflector::classify | Baseapp&Amp |
Inflector::variable | baseapp&Amp |
Inflector::slug | baseapp_amp |
CakePHP Conventions
model | ||
---|---|---|
Model Name | Baseapp&Amp | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)); |
Model's FileName | Baseapp&Amp.php | UpperCamelCase,single Inflector::singularize(Inflector::classify($word)).'.php'; |
Table Name | baseapp& amps | underscored,lower,plural Inflector::tableize($word); |
controller | ||
---|---|---|
Controller Name | Baseapp&Amps | UpperCamelCase,plural Inflector::pluralize(Inflector::classify($word)); |
Controller's ClassName | Baseapp&AmpsController | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller'; |
Controller's FileName | Baseapp&AmpsController.php | UpperCamelCase,plural,with 'Controller' Inflector::pluralize(Inflector::classify($word)).'Controller.php'; |
for uses | Baseapp&Amp | Model Name Inflector::singularize(Inflector::classify($word)); |
view | ||
---|---|---|
View Folder | Baseapp&Amps | Controller Name Inflector::pluralize(Inflector::classify($word)); |
View's FileName | baseapp& amp.php | Action Name Inflector::underscore($word).'.php'; |